package com.bungarus.model;

import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;


/**
 * Created by tang on 2018/11/11.
 */
@Repository
public interface MemberRepository  extends PagingAndSortingRepository<Member, Long>{
    Member findByAccountNameAndPassword(String username, String password);
}
